home *** CD-ROM | disk | FTP | other *** search
/ Inside Macintosh / Inside Macintosh CD-ROM_1995 (CD).toast / Books / Macintosh TB Essentials / Macintosh TB Essentials.rsrc / GRF#_1000 < prev    next >
Unknown  |  1994-08-11  |  10.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 c3 4b 46 69 67 75 72 | 65 20 31 2d 31 09 54 68 |..KFigur|e 1-1.Th|
|00000010| 65 20 53 75 72 66 57 72 | 69 74 65 72 20 61 70 70 |e SurfWr|iter app|
|00000020| 6c 69 63 61 74 69 6f 6e | 20 77 69 74 68 20 6d 75 |lication| with mu|
|00000030| 6c 74 69 70 6c 65 20 77 | 69 6e 64 6f 77 73 20 6f |ltiple w|indows o|
|00000040| 6e 20 74 68 65 20 64 65 | 73 6b 74 6f 70 20 1b 46 |n the de|sktop .F|
|00000050| 69 67 75 72 65 20 31 2d | 32 09 41 20 74 79 70 69 |igure 1-|2.A typi|
|00000060| 63 61 6c 20 77 69 6e 64 | 6f 77 1a 46 69 67 75 72 |cal wind|ow.Figur|
|00000070| 65 20 31 2d 33 09 43 6f | 6d 6d 6f 6e 20 63 6f 6e |e 1-3.Co|mmon con|
|00000080| 74 72 6f 6c 73 17 46 69 | 67 75 72 65 20 31 2d 34 |trols.Fi|gure 1-4|
|00000090| 09 41 6e 20 61 6c 65 72 | 74 20 62 6f 78 3a 46 69 |.An aler|t box:Fi|
|000000a0| 67 75 72 65 20 31 2d 35 | 09 4d 6f 64 61 6c 2c 20 |gure 1-5|.Modal, |
|000000b0| 6d 6f 76 61 62 6c 65 20 | 6d 6f 64 61 6c 2c 20 61 |movable |modal, a|
|000000c0| 6e 64 20 6d 6f 64 65 6c | 65 73 73 20 64 69 61 6c |nd model|ess dial|
|000000d0| 6f 67 20 62 6f 78 65 73 | 35 46 69 67 75 72 65 20 |og boxes|5Figure |
|000000e0| 32 2d 31 09 53 6f 75 72 | 63 65 73 20 6f 66 20 65 |2-1.Sour|ces of e|
|000000f0| 76 65 6e 74 73 20 73 65 | 6e 74 20 74 6f 20 79 6f |vents se|nt to yo|
|00000100| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 1c 46 |ur appli|cation.F|
|00000110| 69 67 75 72 65 20 32 2d | 32 09 0d 4c 6f 77 2d 6c |igure 2-|2..Low-l|
|00000120| 65 76 65 6c 20 65 76 65 | 6e 74 73 24 46 69 67 75 |evel eve|nts$Figu|
|00000130| 72 65 20 32 2d 33 09 0d | 4f 70 65 72 61 74 69 6e |re 2-3..|Operatin|
|00000140| 67 2d 73 79 73 74 65 6d | 20 65 76 65 6e 74 73 20 |g-system| events |
|00000150| 1d 46 69 67 75 72 65 20 | 32 2d 34 09 0d 48 69 67 |.Figure |2-4..Hig|
|00000160| 68 2d 6c 65 76 65 6c 20 | 65 76 65 6e 74 73 33 46 |h-level |events3F|
|00000170| 69 67 75 72 65 20 32 2d | 35 09 54 68 65 20 6d 6f |igure 2-|5.The mo|
|00000180| 64 69 66 69 65 72 73 20 | 66 69 65 6c 64 20 6f 66 |difiers |field of|
|00000190| 20 74 68 65 20 65 76 65 | 6e 74 20 72 65 63 6f 72 | the eve|nt recor|
|000001a0| 64 20 19 46 69 67 75 72 | 65 20 32 2d 36 09 54 68 |d .Figur|e 2-6.Th|
|000001b0| 65 20 65 76 65 6e 74 20 | 6d 61 73 6b 44 46 69 67 |e event |maskDFig|
|000001c0| 75 72 65 20 32 2d 37 09 | 54 68 65 20 6d 65 73 73 |ure 2-7.|The mess|
|000001d0| 61 67 65 20 66 69 65 6c | 64 20 6f 66 20 74 68 65 |age fiel|d of the|
|000001e0| 20 65 76 65 6e 74 20 72 | 65 63 6f 72 64 20 66 6f | event r|ecord fo|
|000001f0| 72 20 6b 65 79 62 6f 61 | 72 64 20 65 76 65 6e 74 |r keyboa|rd event|
|00000200| 73 20 46 69 67 75 72 65 | 20 32 2d 38 09 0d 4b 65 |s Figure| 2-8..Ke|
|00000210| 79 62 6f 61 72 64 20 74 | 72 61 6e 73 6c 61 74 69 |yboard t|ranslati|
|00000220| 6f 6e 43 46 69 67 75 72 | 65 20 32 2d 39 09 56 69 |onCFigur|e 2-9.Vi|
|00000230| 72 74 75 61 6c 20 6b 65 | 79 20 63 6f 64 65 73 20 |rtual ke|y codes |
|00000240| 66 6f 72 20 74 68 65 20 | 41 70 70 6c 65 20 4b 65 |for the |Apple Ke|
|00000250| 79 62 6f 61 72 64 20 49 | 49 2c 20 49 53 4f 20 6c |yboard I|I, ISO l|
|00000260| 61 79 6f 75 74 20 43 46 | 69 67 75 72 65 20 32 2d |ayout CF|igure 2-|
|00000270| 31 30 09 0d 56 69 72 74 | 75 61 6c 20 6b 65 79 20 |10..Virt|ual key |
|00000280| 63 6f 64 65 73 20 66 6f | 72 20 74 68 65 20 41 70 |codes fo|r the Ap|
|00000290| 70 6c 65 20 45 78 74 65 | 6e 64 65 64 20 4b 65 79 |ple Exte|nded Key|
|000002a0| 62 6f 61 72 64 20 49 49 | 20 20 37 46 69 67 75 72 |board II| 7Figur|
|000002b0| 65 20 32 2d 31 31 09 0d | 52 65 73 70 6f 6e 64 69 |e 2-11..|Respondi|
|000002c0| 6e 67 20 74 6f 20 61 6e | 20 75 70 64 61 74 65 20 |ng to an| update |
|000002d0| 65 76 65 6e 74 20 66 6f | 72 20 61 20 77 69 6e 64 |event fo|r a wind|
|000002e0| 6f 77 37 46 69 67 75 72 | 65 20 32 2d 31 32 09 0d |ow7Figur|e 2-12..|
|000002f0| 52 65 73 70 6f 6e 64 69 | 6e 67 20 74 6f 20 61 63 |Respondi|ng to ac|
|00000300| 74 69 76 61 74 65 20 65 | 76 65 6e 74 73 20 66 6f |tivate e|vents fo|
|00000310| 72 20 61 20 77 69 6e 64 | 6f 77 25 46 69 67 75 72 |r a wind|ow%Figur|
|00000320| 65 20 32 2d 31 33 09 54 | 68 65 20 73 74 61 6e 64 |e 2-13.T|he stand|
|00000330| 61 72 64 20 61 72 72 6f | 77 20 63 75 72 73 6f 72 |ard arro|w cursor|
|00000340| 45 46 69 67 75 72 65 20 | 32 2d 31 34 09 54 68 65 |EFigure |2-14.The|
|00000350| 20 49 2d 62 65 61 6d 2c | 20 63 72 6f 73 73 68 61 | I-beam,| crossha|
|00000360| 69 72 73 2c 20 70 6c 75 | 73 20 73 69 67 6e 2c 20 |irs, plu|s sign, |
|00000370| 61 6e 64 20 77 72 69 73 | 74 77 61 74 63 68 20 63 |and wris|twatch c|
|00000380| 75 72 73 6f 72 73 32 46 | 69 67 75 72 65 20 32 2d |ursors2F|igure 2-|
|00000390| 31 35 09 54 68 65 20 61 | 72 72 6f 77 20 72 65 67 |15.The a|rrow reg|
|000003a0| 69 6f 6e 20 61 6e 64 20 | 74 68 65 20 49 2d 62 65 |ion and |the I-be|
|000003b0| 61 6d 20 72 65 67 69 6f | 6e 4b 46 69 67 75 72 65 |am regio|nKFigure|
|000003c0| 20 32 2d 31 36 09 0d 43 | 68 61 6e 67 69 6e 67 20 | 2-16..C|hanging |
|000003d0| 74 68 65 20 63 75 72 73 | 6f 72 20 66 72 6f 6d 20 |the curs|or from |
|000003e0| 74 68 65 20 49 2d 62 65 | 61 6d 20 63 75 72 73 6f |the I-be|am curso|
|000003f0| 72 20 74 6f 20 74 68 65 | 20 61 72 72 6f 77 20 63 |r to the| arrow c|
|00000400| 75 72 73 6f 72 39 46 69 | 67 75 72 65 20 32 2d 31 |ursor9Fi|gure 2-1|
|00000410| 37 09 53 74 72 75 63 74 | 75 72 65 20 6f 66 20 74 |7.Struct|ure of t|
|00000420| 68 65 20 4b 65 79 54 72 | 61 6e 73 6c 61 74 65 20 |he KeyTr|anslate |
|00000430| 66 75 6e 63 74 69 6f 6e | 20 72 65 73 75 6c 74 39 |function| result9|
|00000440| 46 69 67 75 72 65 20 33 | 2d 31 09 41 20 70 75 6c |Figure 3|-1.A pul|
|00000450| 6c 2d 64 6f 77 6e 20 6d | 65 6e 75 2c 20 61 20 73 |l-down m|enu, a s|
|00000460| 75 62 6d 65 6e 75 2c 20 | 61 6e 64 20 61 20 70 6f |ubmenu, |and a po|
|00000470| 70 2d 75 70 20 6d 65 6e | 75 4d 46 69 67 75 72 65 |p-up men|uMFigure|
|00000480| 20 33 2d 32 09 54 68 65 | 20 53 75 72 66 57 72 69 | 3-2.The| SurfWri|
|00000490| 74 65 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e d5 |ter appl|ication.|
|000004a0| 73 20 6d 65 6e 75 20 62 | 61 72 20 77 69 74 68 20 |s menu b|ar with |
|000004b0| 74 68 65 20 45 64 69 74 | 20 6d 65 6e 75 20 64 69 |the Edit| menu di|
|000004c0| 73 70 6c 61 79 65 64 35 | 46 69 67 75 72 65 20 33 |splayed5|Figure 3|
|000004d0| 2d 33 09 54 68 65 20 6d | 65 6e 75 20 62 61 72 20 |-3.The m|enu bar |
|000004e0| 6f 66 20 74 68 65 20 53 | 75 72 66 57 72 69 74 65 |of the S|urfWrite|
|000004f0| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 55 46 69 |r applic|ationUFi|
|00000500| 67 75 72 65 20 33 2d 34 | 09 54 68 65 20 53 75 72 |gure 3-4|.The Sur|
|00000510| 66 57 72 69 74 65 72 20 | 61 70 70 6c 69 63 61 74 |fWriter |applicat|
|00000520| 69 6f 6e d5 73 20 6d 65 | 6e 75 20 62 61 72 20 6c |ion.s me|nu bar l|
|00000530| 6f 63 61 6c 69 7a 65 64 | 20 66 6f 72 20 61 6e 6f |ocalized| for ano|
|00000540| 74 68 65 72 20 73 63 72 | 69 70 74 20 73 79 73 74 |ther scr|ipt syst|
|00000550| 65 6d 20 31 46 69 67 75 | 72 65 20 33 2d 35 09 54 |em 1Figu|re 3-5.T|
|00000560| 77 6f 20 6d 65 6e 75 73 | 20 77 69 74 68 20 76 61 |wo menus| with va|
|00000570| 72 69 6f 75 73 20 63 68 | 61 72 61 63 74 65 72 69 |rious ch|aracteri|
|00000580| 73 74 69 63 73 34 46 69 | 67 75 72 65 20 33 2d 36 |stics4Fi|gure 3-6|
|00000590| 09 0d 4d 65 6e 75 20 69 | 74 65 6d 73 20 69 6e 20 |..Menu i|tems in |
|000005a0| 61 20 6d 75 74 75 61 6c | 6c 79 20 65 78 63 6c 75 |a mutual|ly exclu|
|000005b0| 73 69 76 65 20 67 72 6f | 75 70 2e 46 69 67 75 72 |sive gro|up.Figur|
|000005c0| 65 20 33 2d 37 09 4d 65 | 6e 75 20 69 74 65 6d 73 |e 3-7.Me|nu items|
|000005d0| 20 69 6e 20 61 6e 20 61 | 63 63 75 6d 75 6c 61 74 | in an a|ccumulat|
|000005e0| 69 6e 67 20 67 72 6f 75 | 70 3f 46 69 67 75 72 65 |ing grou|p?Figure|
|000005f0| 20 33 2d 38 09 55 73 65 | 20 6f 66 20 61 20 63 68 | 3-8.Use| of a ch|
|00000600| 65 63 6b 6d 61 72 6b 20 | 61 6e 64 20 64 61 73 68 |eckmark |and dash|
|00000610| 20 69 6e 20 61 6e 20 61 | 63 63 75 6d 75 6c 61 74 | in an a|ccumulat|
|00000620| 69 6e 67 20 67 72 6f 75 | 70 39 46 69 67 75 72 65 |ing grou|p9Figure|
|00000630| 20 33 2d 39 09 0d 54 68 | 65 20 41 70 70 6c 65 20 | 3-9..Th|e Apple |
|00000640| 6d 65 6e 75 20 66 6f 72 | 20 74 68 65 20 53 75 72 |menu for| the Sur|
|00000650| 66 57 72 69 74 65 72 20 | 61 70 70 6c 69 63 61 74 |fWriter |applicat|
|00000660| 69 6f 6e 45 46 69 67 75 | 72 65 20 33 2d 31 30 09 |ionEFigu|re 3-10.|
|00000670| 43 68 6f 6f 73 69 6e 67 | 20 74 68 65 20 41 62 6f |Choosing| the Abo|
|00000680| 75 74 20 63 6f 6d 6d 61 | 6e 64 20 6f 66 20 74 68 |ut comma|nd of th|
|00000690| 65 20 53 75 72 66 57 72 | 69 74 65 72 20 61 70 70 |e SurfWr|iter app|
|000006a0| 6c 69 63 61 74 69 6f 6e | 20 35 46 69 67 75 72 65 |lication| 5Figure|
|000006b0| 20 33 2d 31 31 09 54 68 | 65 20 73 74 61 6e 64 61 | 3-11.Th|e standa|
|000006c0| 72 64 20 46 69 6c 65 20 | 6d 65 6e 75 20 66 6f 72 |rd File |menu for|
|000006d0| 20 61 6e 20 61 70 70 6c | 69 63 61 74 69 6f 6e 35 | an appl|ication5|
|000006e0| 46 69 67 75 72 65 20 33 | 2d 31 32 09 54 68 65 20 |Figure 3|-12.The |
|000006f0| 73 74 61 6e 64 61 72 64 | 20 45 64 69 74 20 6d 65 |standard| Edit me|
|00000700| 6e 75 20 66 6f 72 20 61 | 6e 20 61 70 70 6c 69 63 |nu for a|n applic|
|00000710| 61 74 69 6f 6e 20 46 69 | 67 75 72 65 20 33 2d 31 |ation Fi|gure 3-1|
|00000720| 33 09 41 20 74 79 70 69 | 63 61 6c 20 46 6f 6e 74 |3.A typi|cal Font|
|00000730| 20 6d 65 6e 75 20 49 46 | 69 67 75 72 65 20 33 2d | menu IF|igure 3-|
|00000740| 31 34 09 41 20 46 6f 6e | 74 20 6d 65 6e 75 20 73 |14.A Fon|t menu s|
|00000750| 68 6f 77 69 6e 67 20 61 | 20 73 65 6c 65 63 74 69 |howing a| selecti|
|00000760| 6f 6e 20 63 6f 6e 74 61 | 69 6e 69 6e 67 20 6d 6f |on conta|ining mo|
|00000770| 72 65 20 74 68 61 6e 20 | 6f 6e 65 20 66 6f 6e 74 |re than |one font|
|00000780| 1f 46 69 67 75 72 65 20 | 33 2d 31 35 09 41 20 74 |.Figure |3-15.A t|
|00000790| 79 70 69 63 61 6c 20 53 | 69 7a 65 20 6d 65 6e 75 |ypical S|ize menu|
|000007a0| 3e 46 69 67 75 72 65 20 | 33 2d 31 36 09 41 20 64 |>Figure |3-16.A d|
|000007b0| 69 61 6c 6f 67 20 62 6f | 78 20 74 6f 20 73 65 6c |ialog bo|x to sel|
|000007c0| 65 63 74 20 61 20 6e 65 | 77 20 70 6f 69 6e 74 20 |ect a ne|w point |
|000007d0| 73 69 7a 65 20 66 6f 72 | 20 61 20 66 6f 6e 74 31 |size for| a font1|
|000007e0| 46 69 67 75 72 65 20 33 | 2d 31 37 09 0d 45 6e 74 |Figure 3|-17..Ent|
|000007f0| 65 72 69 6e 67 20 61 20 | 6e 65 77 20 70 6f 69 6e |ering a |new poin|
|00000800| 74 20 73 69 7a 65 20 66 | 6f 72 20 61 20 66 6f 6e |t size f|or a fon|
|00000810| 74 3a 46 69 67 75 72 65 | 20 33 2d 31 38 09 54 68 |t:Figure| 3-18.Th|
|00000820| 65 20 4f 74 68 65 72 20 | 63 6f 6d 6d 61 6e 64 20 |e Other |command |
|00000830| 77 69 74 68 20 61 20 66 | 6f 6e 74 20 73 69 7a 65 |with a f|ont size|
|00000840| 20 61 64 64 65 64 20 74 | 6f 20 69 74 37 46 69 67 | added t|o it7Fig|
|00000850| 75 72 65 20 33 2d 31 39 | 09 54 68 65 20 48 65 6c |ure 3-19|.The Hel|
|00000860| 70 20 6d 65 6e 75 20 6f | 66 20 74 68 65 20 53 75 |p menu o|f the Su|
|00000870| 72 66 57 72 69 74 65 72 | 20 61 70 70 6c 69 63 61 |rfWriter| applica|
|00000880| 74 69 6f 6e 4a 46 69 67 | 75 72 65 20 33 2d 32 30 |tionJFig|ure 3-20|
|00000890| 09 0d 44 65 66 61 75 6c | 74 20 68 65 6c 70 20 62 |..Defaul|t help b|
|000008a0| 61 6c 6c 6f 6f 6e 73 20 | 66 6f 72 20 74 68 65 20 |alloons |for the |
|000008b0| 41 70 70 6c 65 20 6d 65 | 6e 75 20 61 6e 64 20 41 |Apple me|nu and A|
|000008c0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 6d 65 6e 75 41 |pplicati|on menuA|
|000008d0| 46 69 67 75 72 65 20 33 | 2d 32 31 09 48 65 6c 70 |Figure 3|-21.Help|
|000008e0| 20 62 61 6c 6c 6f 6f 6e | 73 20 66 6f 72 20 64 69 | balloon|s for di|
|000008f0| 66 66 65 72 65 6e 74 20 | 73 74 61 74 65 73 20 6f |fferent |states o|
|00000900| 66 20 74 68 65 20 43 75 | 74 20 63 6f 6d 6d 61 6e |f the Cu|t comman|
|00000910| 64 3b 46 69 67 75 72 65 | 20 33 2d 32 32 09 41 63 |d;Figure| 3-22.Ac|
|00000920| 63 65 73 73 69 6e 67 20 | 74 68 65 20 4b 65 79 62 |cessing |the Keyb|
|00000930| 6f 61 72 64 20 6d 65 6e | 75 20 66 72 6f 6d 20 61 |oard men|u from a|
|00000940| 6e 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 29 46 69 |n applic|ation)Fi|
|00000950| 67 75 72 65 20 33 2d 32 | 33 09 53 75 72 66 57 72 |gure 3-2|3.SurfWr|
|00000960| 69 74 65 72 d5 73 20 41 | 70 70 6c 69 63 61 74 69 |iter.s A|pplicati|
|00000970| 6f 6e 20 6d 65 6e 75 19 | 46 69 67 75 72 65 20 33 |on menu.|Figure 3|
|00000980| 2d 32 34 09 41 20 70 6f | 70 2d 75 70 20 6d 65 6e |-24.A po|p-up men|
|00000990| 75 38 46 69 67 75 72 65 | 20 33 2d 32 35 09 41 20 |u8Figure| 3-25.A |
|000009a0| 70 6f 70 2d 75 70 20 6d | 65 6e 75 20 69 6e 20 69 |pop-up m|enu in i|
|000009b0| 74 73 20 63 6c 6f 73 65 | 64 20 61 6e 64 20 6f 70 |ts close|d and op|
|000009c0| 65 6e 20 73 74 61 74 65 | 73 20 31 46 69 67 75 72 |en state|s 1Figur|
|000009d0| 65 20 33 2d 32 36 09 4d | 61 6b 69 6e 67 20 61 20 |e 3-26.M|aking a |
|000009e0| 73 65 6c 65 63 74 69 6f | 6e 20 66 72 6f 6d 20 61 |selectio|n from a|
|000009f0| 20 70 6f 70 2d 75 70 20 | 6d 65 6e 75 36 46 69 67 | pop-up |menu6Fig|
|00000a00| 75 72 65 20 33 2d 32 37 | 09 43 68 6f 6f 73 69 6e |ure 3-27|.Choosin|
|00000a10| 67 20 6f 6e 65 20 61 74 | 74 72 69 62 75 74 65 20 |g one at|tribute |
|00000a20| 66 72 6f 6d 20 61 20 6c | 69 73 74 20 6f 66 20 6d |from a l|ist of m|
|00000a30| 61 6e 79 3a 46 69 67 75 | 72 65 20 33 2d 32 38 09 |any:Figu|re 3-28.|
|00000a40| 0d 41 20 64 69 61 6c 6f | 67 20 62 6f 78 20 77 69 |.A dialo|g box wi|
|00000a50| 74 68 20 63 68 65 63 6b | 62 6f 78 65 73 20 61 6e |th check|boxes an|
|00000a60| 64 20 70 6f 70 2d 75 70 | 20 6d 65 6e 75 73 3f 46 |d pop-up| menus?F|
|00000a70| 69 67 75 72 65 20 33 2d | 32 39 09 41 20 74 79 70 |igure 3-|29.A typ|
|00000a80| 65 2d 69 6e 20 70 6f 70 | 2d 75 70 20 6d 65 6e 75 |e-in pop|-up menu|
|00000a90| 20 69 6e 20 69 74 73 20 | 63 6c 6f 73 65 64 20 61 | in its |closed a|
|00000aa0| 6e 64 20 6f 70 65 6e 20 | 73 74 61 74 65 73 3d 46 |nd open |states=F|
|00000ab0| 69 67 75 72 65 20 33 2d | 33 30 09 0d 41 20 74 79 |igure 3-|30..A ty|
|00000ac0| 70 65 2d 69 6e 20 70 6f | 70 2d 75 70 20 6d 65 6e |pe-in po|p-up men|
|00000ad0| 75 20 77 69 74 68 20 61 | 20 75 73 65 72 d5 73 20 |u with a| user.s |
|00000ae0| 63 68 6f 69 63 65 20 61 | 64 64 65 64 35 46 69 67 |choice a|dded5Fig|
|00000af0| 75 72 65 20 33 2d 33 31 | 09 0d 41 20 68 69 65 72 |ure 3-31|..A hier|
|00000b00| 61 72 63 68 69 63 61 6c | 20 6d 65 6e 75 20 69 74 |archical| menu it|
|00000b10| 65 6d 20 61 6e 64 20 69 | 74 73 20 73 75 62 6d 65 |em and i|ts subme|
|00000b20| 6e 75 26 46 69 67 75 72 | 65 20 33 2d 33 32 09 41 |nu&Figur|e 3-32.A|
|00000b30| 20 6d 65 6e 75 20 69 74 | 65 6d 20 77 69 74 68 20 | menu it|em with |
|00000b40| 61 20 73 75 62 6d 65 6e | 75 29 46 69 67 75 72 65 |a submen|u)Figure|
|00000b50| 20 33 2d 33 33 09 41 20 | 70 6f 70 2d 75 70 20 6d | 3-33.A |pop-up m|
|00000b60| 65 6e 75 20 69 6e 20 61 | 20 64 69 61 6c 6f 67 20 |enu in a| dialog |
|00000b70| 62 6f 78 20 46 69 67 75 | 72 65 20 33 2d 33 34 09 |box Figu|re 3-34.|
|00000b80| 0d 49 63 6f 6e 73 20 69 | 6e 20 6d 65 6e 75 20 69 |.Icons i|n menu i|
|00000b90| 74 65 6d 73 37 46 69 67 | 75 72 65 20 33 2d 33 35 |tems7Fig|ure 3-35|
|00000ba0| 09 0d 41 20 53 69 7a 65 | 20 6d 65 6e 75 20 77 69 |..A Size| menu wi|
|00000bb0| 74 68 20 75 73 65 72 2d | 73 70 65 63 69 66 69 65 |th user-|specifie|
|00000bc0| 64 20 73 69 7a 65 20 61 | 64 64 65 64 2f 46 69 67 |d size a|dded/Fig|
|00000bd0| 75 72 65 20 33 2d 33 36 | 09 4d 65 6e 75 20 61 63 |ure 3-36|.Menu ac|
|00000be0| 63 65 73 73 20 66 72 6f | 6d 20 61 20 6d 6f 64 61 |cess fro|m a moda|
|00000bf0| 6c 20 64 69 61 6c 6f 67 | 20 62 6f 78 3a 46 69 67 |l dialog| box:Fig|
|00000c00| 75 72 65 20 33 2d 33 37 | 09 53 74 72 75 63 74 75 |ure 3-37|.Structu|
|00000c10| 72 65 20 6f 66 20 61 20 | 63 6f 6d 70 69 6c 65 64 |re of a |compiled|
|00000c20| 20 6d 65 6e 75 20 28 27 | 4d 45 4e 55 27 29 20 72 | menu ('|MENU') r|
|00000c30| 65 73 6f 75 72 63 65 73 | 46 69 67 75 72 65 20 33 |esources|Figure 3|
|00000c40| 2d 33 38 09 54 68 65 20 | 76 61 72 69 61 62 6c 65 |-38.The |variable|
|00000c50| 2d 6c 65 6e 67 74 68 20 | 64 61 74 61 20 74 68 61 |-length |data tha|
|00000c60| 74 20 64 65 73 63 72 69 | 62 65 73 20 6d 65 6e 75 |t descri|bes menu|
|00000c70| 20 69 74 65 6d 73 20 61 | 73 20 64 65 66 69 6e 65 | items a|s define|
|00000c80| 64 20 62 79 20 74 68 65 | 20 73 74 61 6e 64 61 72 |d by the| standar|
|00000c90| 64 20 6d 65 6e 75 20 64 | 65 66 69 6e 69 74 69 6f |d menu d|efinitio|
|00000ca0| 6e 20 70 72 6f 63 65 64 | 75 72 65 3e 46 69 67 75 |n proced|ure>Figu|
|00000cb0| 72 65 20 33 2d 33 39 09 | 53 74 72 75 63 74 75 72 |re 3-39.|Structur|
|00000cc0| 65 20 6f 66 20 61 20 63 | 6f 6d 70 69 6c 65 64 20 |e of a c|ompiled |
|00000cd0| 6d 65 6e 75 20 62 61 72 | 20 28 27 4d 42 41 52 27 |menu bar| ('MBAR'|
|00000ce0| 29 20 72 65 73 6f 75 72 | 63 65 52 46 69 67 75 72 |) resour|ceRFigur|
|00000cf0| 65 20 33 2d 34 30 09 53 | 74 72 75 63 74 75 72 65 |e 3-40.S|tructure|
|00000d00| 20 6f 66 20 61 20 63 6f | 6d 70 69 6c 65 64 20 6d | of a co|mpiled m|
|00000d10| 65 6e 75 20 63 6f 6c 6f | 72 20 69 6e 66 6f 72 6d |enu colo|r inform|
|00000d20| 61 74 69 6f 6e 20 74 61 | 62 6c 65 20 28 27 6d 63 |ation ta|ble ('mc|
|00000d30| 74 62 27 29 20 72 65 73 | 6f 75 72 63 65 42 46 69 |tb') res|ourceBFi|
|00000d40| 67 75 72 65 20 33 2d 34 | 31 09 0d 53 74 72 75 63 |gure 3-4|1..Struc|
|00000d50| 74 75 72 65 20 6f 66 20 | 61 20 6d 65 6e 75 20 63 |ture of |a menu c|
|00000d60| 6f 6c 6f 72 20 65 6e 74 | 72 79 20 69 6e 20 61 6e |olor ent|ry in an|
|00000d70| 20 27 6d 63 74 62 27 20 | 72 65 73 6f 75 72 63 65 | 'mctb' |resource|
|00000d80| 1b 46 69 67 75 72 65 20 | 34 2d 31 09 4d 75 6c 74 |.Figure |4-1.Mult|
|00000d90| 69 70 6c 65 20 77 69 6e | 64 6f 77 73 1c 46 69 67 |iple win|dows.Fig|
|00000da0| 75 72 65 20 34 2d 32 09 | 41 20 64 6f 63 75 6d 65 |ure 4-2.|A docume|
|00000db0| 6e 74 20 77 69 6e 64 6f | 77 30 46 69 67 75 72 65 |nt windo|w0Figure|
|00000dc0| 20 34 2d 33 09 0d 41 63 | 74 69 76 65 20 61 6e 64 | 4-3..Ac|tive and|
|00000dd0| 20 69 6e 61 63 74 69 76 | 65 20 64 6f 63 75 6d 65 | inactiv|e docume|
|00000de0| 6e 74 20 77 69 6e 64 6f | 77 73 27 46 69 67 75 72 |nt windo|ws'Figur|
|00000df0| 65 20 34 2d 34 09 41 20 | 77 69 6e 64 6f 77 20 6f |e 4-4.A |window o|
|00000e00| 66 20 74 79 70 65 20 7a | 6f 6f 6d 44 6f 63 50 72 |f type z|oomDocPr|
|00000e10| 6f 63 50 46 69 67 75 72 | 65 20 34 2d 35 09 0d 41 |ocPFigur|e 4-5..A|
|00000e20| 20 77 69 6e 64 6f 77 20 | 6f 66 20 74 79 70 65 20 | window |of type |
|00000e30| 7a 6f 6f 6d 44 6f 63 50 | 72 6f 63 2c 20 77 69 74 |zoomDocP|roc, wit|
|00000e40| 68 20 73 69 7a 65 20 62 | 6f 78 20 61 6e 64 20 69 |h size b|ox and i|
|00000e50| 6e 61 63 74 69 76 65 20 | 73 63 72 6f 6c 6c 20 62 |nactive |scroll b|
|00000e60| 61 72 73 4d 46 69 67 75 | 72 65 20 34 2d 36 09 57 |arsMFigu|re 4-6.W|
|00000e70| 69 6e 64 6f 77 20 74 79 | 70 65 73 20 66 6f 72 20 |indow ty|pes for |
|00000e80| 61 6c 65 72 74 20 62 6f | 78 65 73 20 61 6e 64 20 |alert bo|xes and |
|00000e90| 66 69 78 65 64 2d 70 6f | 73 69 74 69 6f 6e 20 6d |fixed-po|sition m|
|00000ea0| 6f 64 61 6c 20 64 69 61 | 6c 6f 67 20 62 6f 78 65 |odal dia|log boxe|
|00000eb0| 73 2c 46 69 67 75 72 65 | 20 34 2d 37 09 0d 41 20 |s,Figure| 4-7..A |
|00000ec0| 77 69 6e 64 6f 77 20 6f | 66 20 74 79 70 65 20 6d |window o|f type m|
|00000ed0| 6f 76 61 62 6c 65 44 42 | 6f 78 50 72 6f 63 29 46 |ovableDB|oxProc)F|
|00000ee0| 69 67 75 72 65 20 34 2d | 38 09 41 20 77 69 6e 64 |igure 4-|8.A wind|
|00000ef0| 6f 77 20 6f 66 20 74 79 | 70 65 20 6e 6f 47 72 6f |ow of ty|pe noGro|
|00000f00| 77 44 6f 63 50 72 6f 63 | 24 46 69 67 75 72 65 20 |wDocProc|$Figure |
|00000f10| 34 2d 39 09 0d 53 65 6c | 64 6f 6d 2d 75 73 65 64 |4-9..Sel|dom-used|
|00000f20| 20 77 69 6e 64 6f 77 20 | 74 79 70 65 73 3e 46 69 | window |types>Fi|
|00000f30| 67 75 72 65 20 34 2d 31 | 30 09 57 69 6e 64 6f 77 |gure 4-1|0.Window|
|00000f40| 20 66 72 61 6d 65 2c 20 | 63 6f 6e 74 65 6e 74 20 | frame, |content |
|00000f50| 72 65 67 69 6f 6e 2c 20 | 61 6e 64 20 73 74 72 75 |region, |and stru|
|00000f60| 63 74 75 72 65 20 72 65 | 67 69 6f 6e 17 46 69 67 |cture re|gion.Fig|
|00000f70| 75 72 65 20 34 2d 31 31 | 09 53 63 72 6f 6c 6c 20 |ure 4-11|.Scroll |
|00000f80| 62 61 72 73 24 46 69 67 | 75 72 65 20 34 2d 31 32 |bars$Fig|ure 4-12|
|00000f90| 09 43 6f 6e 74 72 6f 6c | 73 20 69 6e 20 61 20 64 |.Control|s in a d|
|00000fa0| 69 61 6c 6f 67 20 62 6f | 78 31 46 69 67 75 72 65 |ialog bo|x1Figure|
|00000fb0| 20 34 2d 31 33 09 54 68 | 65 20 51 75 69 63 6b 44 | 4-13.Th|e QuickD|
|00000fc0| 72 61 77 20 67 6c 6f 62 | 61 6c 20 63 6f 6f 72 64 |raw glob|al coord|
|00000fd0| 69 6e 61 74 65 20 70 6c | 61 6e 65 3b 46 69 67 75 |inate pl|ane;Figu|
|00000fe0| 72 65 20 34 2d 31 34 09 | 0d 41 20 77 69 6e 64 6f |re 4-14.|.A windo|
|00000ff0| 77 d5 73 20 6c 6f 63 61 | 6c 20 61 6e 64 20 67 6c |w.s loca|l and gl|
|00001000| 6f 62 61 6c 20 63 6f 6f | 72 64 69 6e 61 74 65 20 |obal coo|rdinate |
|00001010| 73 79 73 74 65 6d 73 39 | 46 69 67 75 72 65 20 34 |systems9|Figure 4|
|00001020| 2d 31 35 09 0d 44 6f 63 | 75 6d 65 6e 74 20 77 69 |-15..Doc|ument wi|
|00001030| 6e 64 6f 77 20 70 6f 73 | 69 74 69 6f 6e 73 20 6f |ndow pos|itions o|
|00001040| 6e 20 61 20 73 69 6e 67 | 6c 65 20 73 63 72 65 65 |n a sing|le scree|
|00001050| 6e 3a 46 69 67 75 72 65 | 20 34 2d 31 36 09 d2 46 |n:Figure| 4-16..F|
|00001060| 69 6c 6c 69 6e 67 20 69 | 6e d3 20 61 6e 20 65 6d |illing i|n. an em|
|00001070| 70 74 79 20 64 6f 63 75 | 6d 65 6e 74 20 77 69 6e |pty docu|ment win|
|00001080| 64 6f 77 20 70 6f 73 69 | 74 69 6f 6e 3a 46 69 67 |dow posi|tion:Fig|
|00001090| 75 72 65 20 34 2d 31 37 | 09 0d 44 6f 63 75 6d 65 |ure 4-17|..Docume|
|000010a0| 6e 74 20 77 69 6e 64 6f | 77 20 70 6f 73 69 74 69 |nt windo|w positi|
|000010b0| 6f 6e 73 20 6f 6e 20 6d | 75 6c 74 69 70 6c 65 20 |ons on m|ultiple |
|000010c0| 73 63 72 65 65 6e 73 4a | 46 69 67 75 72 65 20 34 |screensJ|Figure 4|
|000010d0| 2d 31 38 09 4d 6f 76 69 | 6e 67 20 6f 6e 65 20 77 |-18.Movi|ng one w|
|000010e0| 69 6e 64 6f 77 20 61 6e | 64 20 61 64 64 69 6e 67 |indow an|d adding|
|000010f0| 20 74 6f 20 61 6e 6f 74 | 68 65 72 20 77 69 6e 64 | to anot|her wind|
|00001100| 6f 77 d5 73 20 75 70 64 | 61 74 65 20 72 65 67 69 |ow.s upd|ate regi|
|00001110| 6f 6e 37 46 69 67 75 72 | 65 20 34 2d 31 39 09 54 |on7Figur|e 4-19.T|
|00001120| 68 65 20 63 6c 6f 73 65 | 20 62 6f 78 20 77 69 74 |he close| box wit|
|00001130| 68 20 61 6e 64 20 77 69 | 74 68 6f 75 74 20 68 69 |h and wi|thout hi|
|00001140| 67 68 6c 69 67 68 74 69 | 6e 67 37 46 69 67 75 72 |ghlighti|ng7Figur|
|00001150| 65 20 34 2d 32 30 09 0d | 54 68 65 20 7a 6f 6f 6d |e 4-20..|The zoom|
|00001160| 20 62 6f 78 20 77 69 74 | 68 20 61 6e 64 20 77 69 | box wit|h and wi|
|00001170| 74 68 6f 75 74 20 68 69 | 67 68 6c 69 67 68 74 69 |thout hi|ghlighti|
|00001180| 6e 67 5e 46 69 67 75 72 | 65 20 34 2d 32 31 09 0d |ng^Figur|e 4-21..|
|00001190| 54 68 65 20 65 66 66 65 | 63 74 73 20 6f 66 20 42 |The effe|cts of B|
|000011a0| 65 67 69 6e 55 70 64 61 | 74 65 20 61 6e 64 20 45 |eginUpda|te and E|
|000011b0| 6e 64 55 70 64 61 74 65 | 20 6f 6e 20 74 68 65 20 |ndUpdate| on the |
|000011c0| 76 69 73 69 62 6c 65 20 | 72 65 67 69 6f 6e 20 61 |visible |region a|
|000011d0| 6e 64 20 0d 75 70 64 61 | 74 65 20 72 65 67 69 6f |nd .upda|te regio|
|000011e0| 6e 4e 46 69 67 75 72 65 | 20 34 2d 32 32 09 54 68 |nNFigure| 4-22.Th|
|000011f0| 65 20 63 75 6d 75 6c 61 | 74 69 76 65 20 65 66 66 |e cumula|tive eff|
|00001200| 65 63 74 73 20 6f 66 20 | 48 69 64 65 57 69 6e 64 |ects of |HideWind|
|00001210| 6f 77 2c 20 53 68 6f 77 | 57 69 6e 64 6f 77 2c 20 |ow, Show|Window, |
|00001220| 61 6e 64 20 53 65 6c 65 | 63 74 57 69 6e 64 6f 77 |and Sele|ctWindow|
|00001230| 33 46 69 67 75 72 65 20 | 34 2d 32 33 09 0d 4c 69 |3Figure |4-23..Li|
|00001240| 6d 69 74 69 6e 67 20 72 | 65 63 74 61 6e 67 6c 65 |miting r|ectangle|
|00001250| 20 75 73 65 64 20 62 79 | 20 44 72 61 67 47 72 61 | used by| DragGra|
|00001260| 79 52 67 6e 3c 46 69 67 | 75 72 65 20 34 2d 32 34 |yRgn<Fig|ure 4-24|
|00001270| 09 53 74 72 75 63 74 75 | 72 65 20 6f 66 20 61 20 |.Structu|re of a |
|00001280| 63 6f 6d 70 69 6c 65 64 | 20 77 69 6e 64 6f 77 20 |compiled| window |
|00001290| 28 27 57 49 4e 44 27 29 | 20 72 65 73 6f 75 72 63 |('WIND')| resourc|
|000012a0| 65 49 46 69 67 75 72 65 | 20 34 2d 32 35 09 0d 53 |eIFigure| 4-25..S|
|000012b0| 74 72 75 63 74 75 72 65 | 20 6f 66 20 61 20 63 6f |tructure| of a co|
|000012c0| 6d 70 69 6c 65 64 20 77 | 69 6e 64 6f 77 20 63 6f |mpiled w|indow co|
|000012d0| 6c 6f 72 20 74 61 62 6c | 65 20 28 27 77 63 74 62 |lor tabl|e ('wctb|
|000012e0| 27 29 20 72 65 73 6f 75 | 72 63 65 3c 46 69 67 75 |') resou|rce<Figu|
|000012f0| 72 65 20 35 2d 31 09 53 | 74 61 6e 64 61 72 64 20 |re 5-1.S|tandard |
|00001300| 63 6f 6e 74 72 6f 6c 73 | 20 70 72 6f 76 69 64 65 |controls| provide|
|00001310| 64 20 62 79 20 74 68 65 | 20 43 6f 6e 74 72 6f 6c |d by the| Control|
|00001320| 20 4d 61 6e 61 67 65 72 | 1b 46 69 67 75 72 65 20 | Manager|.Figure |
|00001330| 35 2d 32 09 41 20 64 65 | 66 61 75 6c 74 20 62 75 |5-2.A de|fault bu|
|00001340| 74 74 6f 6e 1e 46 69 67 | 75 72 65 20 35 2d 33 09 |tton.Fig|ure 5-3.|
|00001350| 41 20 73 65 6c 65 63 74 | 65 64 20 63 68 65 63 6b |A select|ed check|
|00001360| 62 6f 78 20 46 69 67 75 | 72 65 20 35 2d 34 09 41 |box Figu|re 5-4.A|
|00001370| 20 76 65 72 74 69 63 61 | 6c 20 73 63 72 6f 6c 6c | vertica|l scroll|
|00001380| 20 62 61 72 31 46 69 67 | 75 72 65 20 35 2d 35 09 | bar1Fig|ure 5-5.|
|00001390| 55 73 69 6e 67 20 74 68 | 65 20 73 63 72 6f 6c 6c |Using th|e scroll|
|000013a0| 20 62 6f 78 20 61 6e 64 | 20 73 63 72 6f 6c 6c 20 | box and| scroll |
|000013b0| 61 72 72 6f 77 73 68 46 | 69 67 75 72 65 20 35 2d |arrowshF|igure 5-|
|000013c0| 36 09 0d 53 70 61 74 69 | 61 6c 20 72 65 6c 61 74 |6..Spati|al relat|
|000013d0| 69 6f 6e 73 20 62 65 74 | 77 65 65 6e 20 61 20 64 |ions bet|ween a d|
|000013e0| 6f 63 75 6d 65 6e 74 20 | 61 6e 64 20 61 20 77 69 |ocument |and a wi|
|000013f0| 6e 64 6f 77 2c 20 61 6e | 64 20 74 68 65 69 72 20 |ndow, an|d their |
|00001400| 72 65 70 72 65 73 65 6e | 74 61 74 69 6f 6e 20 62 |represen|tation b|
|00001410| 79 20 0d 61 20 73 63 72 | 6f 6c 6c 20 62 61 72 21 |y .a scr|oll bar!|
|00001420| 46 69 67 75 72 65 20 35 | 2d 37 09 43 75 73 74 6f |Figure 5|-7.Custo|
|00001430| 6d 20 73 6c 69 64 65 72 | 20 63 6f 6e 74 72 6f 6c |m slider| control|
|00001440| 73 41 46 69 67 75 72 65 | 20 35 2d 38 09 0d 56 69 |sAFigure| 5-8..Vi|
|00001450| 73 75 61 6c 20 66 65 65 | 64 62 61 63 6b 20 66 6f |sual fee|dback fo|
|00001460| 72 20 75 73 65 72 20 73 | 65 6c 65 63 74 69 6f 6e |r user s|election|
|00001470| 20 6f 66 20 61 63 74 69 | 76 65 20 63 6f 6e 74 72 | of acti|ve contr|
|00001480| 6f 6c 73 1c 46 69 67 75 | 72 65 20 35 2d 39 09 49 |ols.Figu|re 5-9.I|
|00001490| 6e 61 63 74 69 76 65 20 | 63 6f 6e 74 72 6f 6c 73 |nactive |controls|
|000014a0| 27 46 69 67 75 72 65 20 | 35 2d 31 30 09 41 20 62 |'Figure |5-10.A b|
|000014b0| 75 74 74 6f 6e 20 69 6e | 20 61 20 73 69 6d 70 6c |utton in| a simpl|
|000014c0| 65 20 77 69 6e 64 6f 77 | 2c 46 69 67 75 72 65 20 |e window|,Figure |
|000014d0| 35 2d 31 31 09 52 61 64 | 69 6f 20 62 75 74 74 6f |5-11.Rad|io butto|
|000014e0| 6e 73 20 69 6e 20 61 20 | 73 69 6d 70 6c 65 20 77 |ns in a |simple w|
|000014f0| 69 6e 64 6f 77 3c 46 69 | 67 75 72 65 20 35 2d 31 |indow<Fi|gure 5-1|
|00001500| 32 09 48 6f 77 20 61 20 | 73 63 72 6f 6c 6c 20 62 |2.How a |scroll b|
|00001510| 61 72 20 73 68 6f 75 6c | 64 20 6f 76 65 72 6c 61 |ar shoul|d overla|
|00001520| 70 20 74 68 65 20 77 69 | 6e 64 6f 77 20 66 72 61 |p the wi|ndow fra|
|00001530| 6d 65 1a 46 69 67 75 72 | 65 20 35 2d 31 33 09 0d |me.Figur|e 5-13..|
|00001540| 41 20 70 6f 70 2d 75 70 | 20 6d 65 6e 75 2e 46 69 |A pop-up| menu.Fi|
|00001550| 67 75 72 65 20 35 2d 31 | 34 09 44 69 6d 65 6e 73 |gure 5-1|4.Dimens|
|00001560| 69 6f 6e 73 20 6f 66 20 | 61 20 73 61 6d 70 6c 65 |ions of |a sample|
|00001570| 20 70 6f 70 2d 75 70 20 | 6d 65 6e 75 26 46 69 67 | pop-up |menu&Fig|
|00001580| 75 72 65 20 35 2d 31 35 | 09 54 68 72 65 65 20 63 |ure 5-15|.Three c|
|00001590| 6f 6e 74 72 6f 6c 73 20 | 69 6e 20 61 20 77 69 6e |ontrols |in a win|
|000015a0| 64 6f 77 35 46 69 67 75 | 72 65 20 35 2d 31 36 09 |dow5Figu|re 5-16.|
|000015b0| 0d 4d 6f 76 69 6e 67 20 | 61 20 64 6f 63 75 6d 65 |.Moving |a docume|
|000015c0| 6e 74 20 72 65 6c 61 74 | 69 76 65 20 74 6f 20 69 |nt relat|ive to i|
|000015d0| 74 73 20 77 69 6e 64 6f | 77 36 46 69 67 75 72 65 |ts windo|w6Figure|
|000015e0| 20 35 2d 31 37 09 55 70 | 64 61 74 69 6e 67 20 74 | 5-17.Up|dating t|
|000015f0| 68 65 20 63 6f 6e 74 65 | 6e 74 73 20 6f 66 20 61 |he conte|nts of a|
|00001600| 20 73 63 72 6f 6c 6c 65 | 64 20 77 69 6e 64 6f 77 | scrolle|d window|
|00001610| 30 46 69 67 75 72 65 20 | 35 2d 31 38 09 52 65 73 |0Figure |5-18.Res|
|00001620| 74 6f 72 69 6e 67 20 74 | 68 65 20 77 69 6e 64 6f |toring t|he windo|
|00001630| 77 20 6f 72 69 67 69 6e | 20 74 6f 20 28 30 2c 30 |w origin| to (0,0|
|00001640| 29 2f 46 69 67 75 72 65 | 20 35 2d 31 39 09 0d 53 |)/Figure| 5-19..S|
|00001650| 63 72 6f 6c 6c 69 6e 67 | 20 74 6f 20 74 68 65 20 |crolling| to the |
|00001660| 65 6e 64 20 6f 66 20 61 | 20 64 6f 63 75 6d 65 6e |end of a| documen|
|00001670| 74 51 46 69 67 75 72 65 | 20 35 2d 32 30 09 55 70 |tQFigure| 5-20.Up|
|00001680| 64 61 74 69 6e 67 20 61 | 20 77 69 6e 64 6f 77 d5 |dating a| window.|
|00001690| 73 20 63 6f 6e 74 65 6e | 74 73 20 61 6e 64 20 72 |s conten|ts and r|
|000016a0| 65 74 75 72 6e 69 6e 67 | 20 74 68 65 20 77 69 6e |eturning| the win|
|000016b0| 64 6f 77 20 6f 72 69 67 | 69 6e 20 74 6f 20 28 30 |dow orig|in to (0|
|000016c0| 2c 30 29 2c 46 69 67 75 | 72 65 20 35 2d 32 31 09 |,0),Figu|re 5-21.|
|000016d0| 4d 6f 76 69 6e 67 20 61 | 6e 64 20 72 65 73 69 7a |Moving a|nd resiz|
|000016e0| 69 6e 67 20 73 63 72 6f | 6c 6c 20 62 61 72 73 20 |ing scro|ll bars |
|000016f0| 5a 46 69 67 75 72 65 20 | 35 2d 32 32 09 0d 41 20 |ZFigure |5-22..A |
|00001700| 76 65 72 74 69 63 61 6c | 20 73 63 72 6f 6c 6c 20 |vertical| scroll |
|00001710| 62 61 72 20 62 65 66 6f | 72 65 20 74 68 65 20 61 |bar befo|re the a|
|00001720| 70 70 6c 69 63 61 74 69 | 6f 6e 20 6d 6f 76 65 73 |pplicati|on moves|
|00001730| 20 69 74 20 77 69 74 68 | 69 6e 20 61 20 72 65 73 | it with|in a res|
|00001740| 69 7a 65 64 20 77 69 6e | 64 6f 77 52 46 69 67 75 |ized win|dowRFigu|
|00001750| 72 65 20 35 2d 32 33 09 | 41 20 76 65 72 74 69 63 |re 5-23.|A vertic|
|00001760| 61 6c 20 73 63 72 6f 6c | 6c 20 62 61 72 20 61 66 |al scrol|l bar af|
|00001770| 74 65 72 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 |ter the |applicat|
|00001780| 69 6f 6e 20 6d 6f 76 65 | 73 20 69 74 73 20 75 70 |ion move|s its up|
|00001790| 70 65 72 2d 6c 65 66 74 | 20 70 6f 69 6e 74 1c 46 |per-left| point.F|
|000017a0| 69 67 75 72 65 20 35 2d | 32 34 09 41 20 63 75 73 |igure 5-|24.A cus|
|000017b0| 74 6f 6d 20 63 6f 6e 74 | 72 6f 6c 3d 46 69 67 75 |tom cont|rol=Figu|
|000017c0| 72 65 20 35 2d 32 35 09 | 53 74 72 75 63 74 75 72 |re 5-25.|Structur|
|000017d0| 65 20 6f 66 20 61 20 63 | 6f 6d 70 69 6c 65 64 20 |e of a c|ompiled |
|000017e0| 63 6f 6e 74 72 6f 6c 20 | 28 27 43 4e 54 4c 27 29 |control |('CNTL')|
|000017f0| 20 72 65 73 6f 75 72 63 | 65 4a 46 69 67 75 72 65 | resourc|eJFigure|
|00001800| 20 35 2d 32 36 09 0d 53 | 74 72 75 63 74 75 72 65 | 5-26..S|tructure|
|00001810| 20 6f 66 20 61 20 63 6f | 6d 70 69 6c 65 64 20 63 | of a co|mpiled c|
|00001820| 6f 6e 74 72 6f 6c 20 63 | 6f 6c 6f 72 20 74 61 62 |ontrol c|olor tab|
|00001830| 6c 65 20 28 27 63 63 74 | 62 27 29 20 72 65 73 6f |le ('cct|b') reso|
|00001840| 75 72 63 65 2a 46 69 67 | 75 72 65 20 36 2d 31 09 |urce*Fig|ure 6-1.|
|00001850| 41 6e 20 61 6c 65 72 74 | 20 62 6f 78 20 75 73 65 |An alert| box use|
|00001860| 64 20 62 79 20 74 68 65 | 20 46 69 6e 64 65 72 1f |d by the| Finder.|
|00001870| 46 69 67 75 72 65 20 36 | 2d 32 09 41 20 74 79 70 |Figure 6|-2.A typ|
|00001880| 69 63 61 6c 20 64 69 61 | 6c 6f 67 20 62 6f 78 17 |ical dia|log box.|
|00001890| 46 69 67 75 72 65 20 36 | 2d 33 09 41 20 6e 6f 74 |Figure 6|-3.A not|
|000018a0| 65 20 61 6c 65 72 74 1a | 46 69 67 75 72 65 20 36 |e alert.|Figure 6|
|000018b0| 2d 34 09 41 20 63 61 75 | 74 69 6f 6e 20 61 6c 65 |-4.A cau|tion ale|
|000018c0| 72 74 17 46 69 67 75 72 | 65 20 36 2d 35 09 41 20 |rt.Figur|e 6-5.A |
|000018d0| 73 74 6f 70 20 61 6c 65 | 72 74 1d 46 69 67 75 72 |stop ale|rt.Figur|
|000018e0| 65 20 36 2d 36 09 41 20 | 6d 6f 64 61 6c 20 64 69 |e 6-6.A |modal di|
|000018f0| 61 6c 6f 67 20 62 6f 78 | 25 46 69 67 75 72 65 20 |alog box|%Figure |
|00001900| 36 2d 37 09 41 20 6d 6f | 76 61 62 6c 65 20 6d 6f |6-7.A mo|vable mo|
|00001910| 64 61 6c 20 64 69 61 6c | 6f 67 20 62 6f 78 20 46 |dal dial|og box F|
|00001920| 69 67 75 72 65 20 36 2d | 38 09 41 20 6d 6f 64 65 |igure 6-|8.A mode|
|00001930| 6c 65 73 73 20 64 69 61 | 6c 6f 67 20 62 6f 78 28 |less dia|log box(|
|00001940| 46 69 67 75 72 65 20 36 | 2d 39 09 54 79 70 69 63 |Figure 6|-9.Typic|
|00001950| 61 6c 20 69 74 65 6d 73 | 20 69 6e 20 61 20 64 69 |al items| in a di|
|00001960| 61 6c 6f 67 20 62 6f 78 | 36 46 69 67 75 72 65 20 |alog box|6Figure |
|00001970| 36 2d 31 30 09 41 6e 20 | 61 6c 65 72 74 20 62 6f |6-10.An |alert bo|
|00001980| 78 20 74 6f 20 73 61 76 | 65 20 63 68 61 6e 67 65 |x to sav|e change|
|00001990| 73 20 74 6f 20 61 20 64 | 6f 63 75 6d 65 6e 74 50 |s to a d|ocumentP|
|000019a0| 46 69 67 75 72 65 20 36 | 2d 31 31 09 41 6e 20 61 |Figure 6|-11.An a|
|000019b0| 6c 65 72 74 20 62 6f 78 | 20 64 69 73 70 6c 61 79 |lert box| display|
|000019c0| 65 64 20 6f 6e 6c 79 20 | 64 75 72 69 6e 67 20 74 |ed only |during t|
|000019d0| 68 65 20 74 68 69 72 64 | 20 61 6e 64 20 66 6f 75 |he third| and fou|
|000019e0| 72 74 68 20 61 6c 65 72 | 74 20 73 74 61 67 65 73 |rth aler|t stages|
|000019f0| 26 46 69 67 75 72 65 20 | 36 2d 31 32 09 0d 41 20 |&Figure |6-12..A |
|00001a00| 73 69 6d 70 6c 65 20 6d | 6f 64 61 6c 20 64 69 61 |simple m|odal dia|
|00001a10| 6c 6f 67 20 62 6f 78 3e | 46 69 67 75 72 65 20 36 |log box>|Figure 6|
|00001a20| 2d 31 33 09 0d 52 65 6c | 61 74 69 6f 6e 73 68 69 |-13..Rel|ationshi|
|00001a30| 70 20 6f 66 20 76 61 72 | 69 6f 75 73 20 72 65 73 |p of var|ious res|
|00001a40| 6f 75 72 63 65 73 20 74 | 6f 20 61 6e 20 61 6c 65 |ources t|o an ale|
|00001a50| 72 74 20 62 6f 78 31 46 | 69 67 75 72 65 20 36 2d |rt box1F|igure 6-|
|00001a60| 31 34 09 41 20 73 61 66 | 65 20 64 65 66 61 75 6c |14.A saf|e defaul|
|00001a70| 74 20 62 75 74 74 6f 6e | 20 69 6e 20 61 6e 20 61 |t button| in an a|
|00001a80| 6c 65 72 74 20 62 6f 78 | 47 46 69 67 75 72 65 20 |lert box|GFigure |
|00001a90| 36 2d 31 35 09 0d 54 68 | 65 20 63 6f 6e 73 69 73 |6-15..Th|e consis|
|00001aa0| 74 65 6e 74 20 73 70 61 | 63 69 6e 67 20 6f 66 20 |tent spa|cing of |
|00001ab0| 62 75 74 74 6f 6e 73 20 | 61 6e 64 20 74 65 78 74 |buttons |and text|
|00001ac0| 20 69 6e 20 61 6e 20 61 | 6c 65 72 74 20 62 6f 78 | in an a|lert box|
|00001ad0| 5c 46 69 67 75 72 65 20 | 36 2d 31 36 09 0d 49 6e |\Figure |6-16..In|
|00001ae0| 63 6f 72 72 65 63 74 6c | 79 20 61 6e 64 20 63 6f |correctl|y and co|
|00001af0| 72 72 65 63 74 6c 79 20 | 73 69 7a 65 64 20 64 69 |rrectly |sized di|
|00001b00| 73 70 6c 61 79 20 72 65 | 63 74 61 6e 67 6c 65 73 |splay re|ctangles|
|00001b10| 20 66 6f 72 20 61 6c 74 | 65 72 6e 61 74 65 20 73 | for alt|ernate s|
|00001b20| 63 72 69 70 74 20 73 79 | 73 74 65 6d 73 31 46 69 |cript sy|stems1Fi|
|00001b30| 67 75 72 65 20 36 2d 31 | 37 09 0d 49 6e 61 63 74 |gure 6-1|7..Inact|
|00001b40| 69 76 65 20 63 6f 6e 74 | 72 6f 6c 73 20 61 6e 64 |ive cont|rols and|
|00001b50| 20 64 69 73 61 62 6c 65 | 64 20 69 74 65 6d 73 33 | disable|d items3|
|00001b60| 46 69 67 75 72 65 20 36 | 2d 31 38 09 41 20 64 69 |Figure 6|-18.A di|
|00001b70| 61 6c 6f 67 20 62 6f 78 | 20 77 69 74 68 20 4f 4b |alog box| with OK|
|00001b80| 20 61 6e 64 20 43 61 6e | 63 65 6c 20 62 75 74 74 | and Can|cel butt|
|00001b90| 6f 6e 73 39 46 69 67 75 | 72 65 20 36 2d 31 39 09 |ons9Figu|re 6-19.|
|00001ba0| 41 20 6d 6f 76 61 62 6c | 65 20 6d 6f 64 61 6c 20 |A movabl|e modal |
|00001bb0| 64 69 61 6c 6f 67 20 62 | 6f 78 20 77 69 74 68 20 |dialog b|ox with |
|00001bc0| 61 20 53 74 6f 70 20 62 | 75 74 74 6f 6e 2d 46 69 |a Stop b|utton-Fi|
|00001bd0| 67 75 72 65 20 36 2d 32 | 30 09 41 6e 20 61 6c 65 |gure 6-2|0.An ale|
|00001be0| 72 74 20 62 6f 78 20 77 | 69 74 68 20 61 20 52 65 |rt box w|ith a Re|
|00001bf0| 76 65 72 74 20 62 75 74 | 74 6f 6e 30 46 69 67 75 |vert but|ton0Figu|
|00001c00| 72 65 20 36 2d 32 31 09 | 41 6e 20 6f 62 73 63 75 |re 6-21.|An obscu|
|00001c10| 72 65 20 61 6e 64 20 75 | 73 65 6c 65 73 73 20 61 |re and u|seless a|
|00001c20| 6c 65 72 74 20 6d 65 73 | 73 61 67 65 28 46 69 67 |lert mes|sage(Fig|
|00001c30| 75 72 65 20 36 2d 32 32 | 09 41 20 6c 65 73 73 20 |ure 6-22|.A less |
|00001c40| 6f 62 73 63 75 72 65 20 | 61 6c 65 72 74 20 6d 65 |obscure |alert me|
|00001c50| 73 73 61 67 65 2d 46 69 | 67 75 72 65 20 36 2d 32 |ssage-Fi|gure 6-2|
|00001c60| 33 09 41 20 63 6c 65 61 | 72 20 61 6e 64 20 68 65 |3.A clea|r and he|
|00001c70| 6c 70 66 75 6c 20 61 6c | 65 72 74 20 6d 65 73 73 |lpful al|ert mess|
|00001c80| 61 67 65 29 46 69 67 75 | 72 65 20 36 2d 32 34 09 |age)Figu|re 6-24.|
|00001c90| 41 20 70 6f 70 2d 75 70 | 20 6d 65 6e 75 20 69 6e |A pop-up| menu in|
|00001ca0| 20 61 20 64 69 61 6c 6f | 67 20 62 6f 78 26 46 69 | a dialo|g box&Fi|
|00001cb0| 67 75 72 65 20 36 2d 32 | 35 09 0d 41 20 73 65 6c |gure 6-2|5..A sel|
|00001cc0| 65 63 74 65 64 20 73 63 | 72 6f 6c 6c 69 6e 67 20 |ected sc|rolling |
|00001cd0| 6c 69 73 74 36 46 69 67 | 75 72 65 20 36 2d 32 36 |list6Fig|ure 6-26|
|00001ce0| 09 41 6e 20 61 6c 65 72 | 74 20 62 6f 78 20 74 68 |.An aler|t box th|
|00001cf0| 61 74 20 64 69 73 70 6c | 61 79 73 20 61 20 64 6f |at displ|ays a do|
|00001d00| 63 75 6d 65 6e 74 20 6e | 61 6d 65 3c 46 69 67 75 |cument n|ame<Figu|
|00001d10| 72 65 20 36 2d 32 37 09 | 54 77 6f 20 65 64 69 74 |re 6-27.|Two edit|
|00001d20| 61 62 6c 65 20 74 65 78 | 74 20 69 74 65 6d 73 20 |able tex|t items |
|00001d30| 69 6e 20 61 20 6d 6f 64 | 65 6c 65 73 73 20 64 69 |in a mod|eless di|
|00001d40| 61 6c 6f 67 20 62 6f 78 | 36 46 69 67 75 72 65 20 |alog box|6Figure |
|00001d50| 36 2d 32 38 09 41 6e 20 | 65 78 69 73 74 69 6e 67 |6-28.An |existing|
|00001d60| 20 64 69 61 6c 6f 67 20 | 62 6f 78 20 61 6e 64 20 | dialog |box and |
|00001d70| 69 74 65 6d 73 20 74 6f | 20 61 70 70 65 6e 64 33 |items to| append3|
|00001d80| 46 69 67 75 72 65 20 36 | 2d 32 39 09 54 68 65 20 |Figure 6|-29.The |
|00001d90| 64 69 61 6c 6f 67 20 62 | 6f 78 20 61 66 74 65 72 |dialog b|ox after|
|00001da0| 20 69 74 65 6d 73 20 61 | 72 65 20 6f 76 65 72 6c | items a|re overl|
|00001db0| 61 69 64 40 46 69 67 75 | 72 65 20 36 2d 33 30 09 |aid@Figu|re 6-30.|
|00001dc0| 54 68 65 20 64 69 61 6c | 6f 67 20 62 6f 78 20 61 |The dial|og box a|
|00001dd0| 66 74 65 72 20 69 74 65 | 6d 73 20 61 72 65 20 61 |fter ite|ms are a|
|00001de0| 70 70 65 6e 64 65 64 20 | 74 6f 20 74 68 65 20 72 |ppended |to the r|
|00001df0| 69 67 68 74 42 46 69 67 | 75 72 65 20 36 2d 33 31 |ightBFig|ure 6-31|
|00001e00| 09 0d 54 68 65 20 64 69 | 61 6c 6f 67 20 62 6f 78 |..The di|alog box|
|00001e10| 20 61 66 74 65 72 20 69 | 74 65 6d 73 20 61 72 65 | after i|tems are|
|00001e20| 20 61 70 70 65 6e 64 65 | 64 20 74 6f 20 74 68 65 | appende|d to the|
|00001e30| 20 62 6f 74 74 6f 6d 4b | 46 69 67 75 72 65 20 36 | bottomK|Figure 6|
|00001e40| 2d 33 32 09 41 20 64 69 | 61 6c 6f 67 20 62 6f 78 |-32.A di|alog box|
|00001e50| 20 77 69 74 68 20 61 6e | 20 69 74 65 6d 20 61 70 | with an| item ap|
|00001e60| 70 65 6e 64 65 64 20 72 | 65 6c 61 74 69 76 65 20 |pended r|elative |
|00001e70| 74 6f 20 61 6e 20 65 78 | 69 73 74 69 6e 67 20 69 |to an ex|isting i|
|00001e80| 74 65 6d 37 46 69 67 75 | 72 65 20 36 2d 33 33 09 |tem7Figu|re 6-33.|
|00001e90| 0d 41 6e 20 61 6c 65 72 | 74 20 62 6f 78 20 69 6e |.An aler|t box in|
|00001ea0| 20 66 72 6f 6e 74 20 6f | 66 20 61 20 64 6f 63 75 | front o|f a docu|
|00001eb0| 6d 65 6e 74 20 77 69 6e | 64 6f 77 2b 46 69 67 75 |ment win|dow+Figu|
|00001ec0| 72 65 20 36 2d 33 34 09 | 41 6e 20 61 6c 65 72 74 |re 6-34.|An alert|
|00001ed0| 20 62 6f 78 20 6f 6e 20 | 74 68 65 20 6d 61 69 6e | box on |the main|
|00001ee0| 20 73 63 72 65 65 6e 4c | 46 69 67 75 72 65 20 36 | screenL|Figure 6|
|00001ef0| 2d 33 35 09 41 6e 20 61 | 6c 65 72 74 20 62 6f 78 |-35.An a|lert box|
|00001f00| 20 69 6e 20 74 68 65 20 | 61 6c 65 72 74 20 70 6f | in the |alert po|
|00001f10| 73 69 74 69 6f 6e 20 6f | 66 20 74 68 65 20 64 6f |sition o|f the do|
|00001f20| 63 75 6d 65 6e 74 20 77 | 69 6e 64 6f 77 20 73 63 |cument w|indow sc|
|00001f30| 72 65 65 6e 43 46 69 67 | 75 72 65 20 36 2d 33 36 |reenCFig|ure 6-36|
|00001f40| 09 41 6e 20 61 6c 65 72 | 74 20 62 6f 78 20 64 69 |.An aler|t box di|
|00001f50| 73 70 6c 61 79 65 64 20 | 6f 6e 6c 79 20 61 66 74 |splayed |only aft|
|00001f60| 65 72 20 74 68 65 20 74 | 68 69 72 64 20 61 6c 65 |er the t|hird ale|
|00001f70| 72 74 20 73 74 61 67 65 | 41 46 69 67 75 72 65 20 |rt stage|AFigure |
|00001f80| 36 2d 33 37 09 41 20 6d | 6f 64 65 6c 65 73 73 20 |6-37.A m|odeless |
|00001f90| 64 69 61 6c 6f 67 20 62 | 6f 78 20 66 6f 72 20 63 |dialog b|ox for c|
|00001fa0| 68 61 6e 67 69 6e 67 20 | 74 65 78 74 20 69 6e 20 |hanging |text in |
|00001fb0| 61 20 64 6f 63 75 6d 65 | 6e 74 3a 46 69 67 75 72 |a docume|nt:Figur|
|00001fc0| 65 20 36 2d 33 38 09 4d | 65 6e 75 20 61 63 63 65 |e 6-38.M|enu acce|
|00001fd0| 73 73 20 77 68 65 6e 20 | 64 69 73 70 6c 61 79 69 |ss when |displayi|
|00001fe0| 6e 67 20 61 20 6d 6f 64 | 61 6c 20 64 69 61 6c 6f |ng a mod|al dialo|
|00001ff0| 67 20 62 6f 78 3f 46 69 | 67 75 72 65 20 36 2d 33 |g box?Fi|gure 6-3|
|00002000| 39 09 54 68 72 65 65 20 | 62 75 74 74 6f 6e 73 20 |9.Three |buttons |
|00002010| 66 6f 72 20 77 68 69 63 | 68 20 43 61 75 74 69 6f |for whic|h Cautio|
|00002020| 6e 41 6c 65 72 74 20 72 | 65 70 6f 72 74 73 20 65 |nAlert r|eports e|
|00002030| 76 65 6e 74 73 3b 46 69 | 67 75 72 65 20 36 2d 34 |vents;Fi|gure 6-4|
|00002040| 30 09 46 6f 75 72 20 69 | 74 65 6d 73 20 66 6f 72 |0.Four i|tems for|
|00002050| 20 77 68 69 63 68 20 4d | 6f 64 61 6c 44 69 61 6c | which M|odalDial|
|00002060| 6f 67 20 72 65 70 6f 72 | 74 73 20 65 76 65 6e 74 |og repor|ts event|
|00002070| 73 48 46 69 67 75 72 65 | 20 36 2d 34 31 09 0d 41 |sHFigure| 6-41..A|
|00002080| 20 6d 6f 64 65 6c 65 73 | 73 20 64 69 61 6c 6f 67 | modeles|s dialog|
|00002090| 20 62 6f 78 20 66 6f 72 | 20 77 68 69 63 68 20 44 | box for| which D|
|000020a0| 69 61 6c 6f 67 53 65 6c | 65 63 74 20 72 65 70 6f |ialogSel|ect repo|
|000020b0| 72 74 73 20 65 76 65 6e | 74 73 3c 46 69 67 75 72 |rts even|ts<Figur|
|000020c0| 65 20 36 2d 34 32 09 53 | 74 72 75 63 74 75 72 65 |e 6-42.S|tructure|
|000020d0| 20 6f 66 20 61 20 63 6f | 6d 70 69 6c 65 64 20 64 | of a co|mpiled d|
|000020e0| 69 61 6c 6f 67 20 28 27 | 44 4c 4f 47 27 29 20 72 |ialog ('|DLOG') r|
|000020f0| 65 73 6f 75 72 63 65 3b | 46 69 67 75 72 65 20 36 |esource;|Figure 6|
|00002100| 2d 34 33 09 53 74 72 75 | 63 74 75 72 65 20 6f 66 |-43.Stru|cture of|
|00002110| 20 61 20 63 6f 6d 70 69 | 6c 65 64 20 61 6c 65 72 | a compi|led aler|
|00002120| 74 20 28 27 41 4c 52 54 | 27 29 20 72 65 73 6f 75 |t ('ALRT|') resou|
|00002130| 72 63 65 3f 46 69 67 75 | 72 65 20 36 2d 34 34 09 |rce?Figu|re 6-44.|
|00002140| 53 74 72 75 63 74 75 72 | 65 20 6f 66 20 61 20 63 |Structur|e of a c|
|00002150| 6f 6d 70 69 6c 65 64 20 | 69 74 65 6d 20 6c 69 73 |ompiled |item lis|
|00002160| 74 20 28 27 44 49 54 4c | 27 29 20 72 65 73 6f 75 |t ('DITL|') resou|
|00002170| 72 63 65 68 46 69 67 75 | 72 65 20 36 2d 34 35 09 |rcehFigu|re 6-45.|
|00002180| 0d 53 74 72 75 63 74 75 | 72 65 20 6f 66 20 63 6f |.Structu|re of co|
|00002190| 6d 70 69 6c 65 64 20 62 | 75 74 74 6f 6e 2c 20 63 |mpiled b|utton, c|
|000021a0| 68 65 63 6b 62 6f 78 2c | 20 72 61 64 69 6f 20 62 |heckbox,| radio b|
|000021b0| 75 74 74 6f 6e 2c 20 73 | 74 61 74 69 63 20 74 65 |utton, s|tatic te|
|000021c0| 78 74 2c 20 61 6e 64 20 | 65 64 69 74 61 62 6c 65 |xt, and |editable|
|000021d0| 20 0d 74 65 78 74 20 69 | 74 65 6d 73 42 46 69 67 | .text i|temsBFig|
|000021e0| 75 72 65 20 36 2d 34 36 | 09 53 74 72 75 63 74 75 |ure 6-46|.Structu|
|000021f0| 72 65 20 6f 66 20 63 6f | 6d 70 69 6c 65 64 20 63 |re of co|mpiled c|
|00002200| 6f 6e 74 72 6f 6c 2c 20 | 69 63 6f 6e 2c 20 61 6e |ontrol, |icon, an|
|00002210| 64 20 70 69 63 74 75 72 | 65 20 69 74 65 6d 73 3d |d pictur|e items=|
|00002220| 46 69 67 75 72 65 20 36 | 2d 34 37 09 0d 53 74 72 |Figure 6|-47..Str|
|00002230| 75 63 74 75 72 65 20 6f | 66 20 61 20 63 6f 6d 70 |ucture o|f a comp|
|00002240| 69 6c 65 64 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |iled app|lication|
|00002250| 2d 64 65 66 69 6e 65 64 | 20 69 74 65 6d 2c 46 69 |-defined| item,Fi|
|00002260| 67 75 72 65 20 36 2d 34 | 38 09 53 74 72 75 63 74 |gure 6-4|8.Struct|
|00002270| 75 72 65 20 6f 66 20 63 | 6f 6d 70 69 6c 65 64 20 |ure of c|ompiled |
|00002280| 68 65 6c 70 20 69 74 65 | 6d 73 3d 46 69 67 75 72 |help ite|ms=Figur|
|00002290| 65 20 36 2d 34 39 09 53 | 74 72 75 63 74 75 72 65 |e 6-49.S|tructure|
|000022a0| 20 6f 66 20 61 20 63 6f | 6d 70 69 6c 65 64 20 69 | of a co|mpiled i|
|000022b0| 74 65 6d 20 63 6f 6c 6f | 72 20 74 61 62 6c 65 20 |tem colo|r table |
|000022c0| 72 65 73 6f 75 72 63 65 | 37 46 69 67 75 72 65 20 |resource|7Figure |
|000022d0| 36 2d 35 30 09 53 74 72 | 75 63 74 75 72 65 20 6f |6-50.Str|ucture o|
|000022e0| 66 20 61 20 63 6f 6d 70 | 69 6c 65 64 20 63 6f 6e |f a comp|iled con|
|000022f0| 74 72 6f 6c 20 63 6f 6c | 6f 72 20 74 61 62 6c 65 |trol col|or table|
|00002300| 34 46 69 67 75 72 65 20 | 36 2d 35 31 09 53 74 72 |4Figure |6-51.Str|
|00002310| 75 63 74 75 72 65 20 6f | 66 20 61 20 63 6f 6d 70 |ucture o|f a comp|
|00002320| 69 6c 65 64 20 74 65 78 | 74 20 73 74 79 6c 65 20 |iled tex|t style |
|00002330| 74 61 62 6c 65 45 46 69 | 67 75 72 65 20 37 2d 31 |tableEFi|gure 7-1|
|00002340| 09 0d 41 70 70 6c 69 63 | 61 74 69 6f 6e 20 61 6e |..Applic|ation an|
|00002350| 64 20 64 6f 63 75 6d 65 | 6e 74 20 69 63 6f 6e 73 |d docume|nt icons|
|00002360| 20 69 6e 20 61 20 77 69 | 6e 64 6f 77 20 6f 6e 20 | in a wi|ndow on |
|00002370| 74 68 65 20 64 65 73 6b | 74 6f 70 3d 46 69 67 75 |the desk|top=Figu|
|00002380| 72 65 20 37 2d 32 09 0d | 41 20 63 75 73 74 6f 6d |re 7-2..|A custom|
|00002390| 69 7a 65 64 20 68 65 6c | 70 20 62 61 6c 6c 6f 6f |ized hel|p balloo|
|000023a0| 6e 20 66 6f 72 20 61 6e | 20 61 70 70 6c 69 63 61 |n for an| applica|
|000023b0| 74 69 6f 6e 20 69 63 6f | 6e 3d 46 69 67 75 72 65 |tion ico|n=Figure|
|000023c0| 20 37 2d 33 09 41 20 46 | 69 6e 64 65 72 20 6d 65 | 7-3.A F|inder me|
|000023d0| 73 73 61 67 65 20 69 64 | 65 6e 74 69 66 79 69 6e |ssage id|entifyin|
|000023e0| 67 20 61 20 6d 69 73 73 | 69 6e 67 20 61 70 70 6c |g a miss|ing appl|
|000023f0| 69 63 61 74 69 6f 6e 4f | 46 69 67 75 72 65 20 37 |icationO|Figure 7|
|00002400| 2d 34 09 4c 61 72 67 65 | 20 62 6c 61 63 6b 2d 61 |-4.Large| black-a|
|00002410| 6e 64 2d 77 68 69 74 65 | 20 61 70 70 6c 69 63 61 |nd-white| applica|
|00002420| 74 69 6f 6e 20 69 63 6f | 6e 73 20 66 6f 72 20 61 |tion ico|ns for a|
|00002430| 20 63 6f 6d 70 61 6e 79 | d5 73 20 70 72 6f 64 75 | company|.s produ|
|00002440| 63 74 20 6c 69 6e 65 2e | 46 69 67 75 72 65 20 37 |ct line.|Figure 7|
|00002450| 2d 35 09 44 65 66 61 75 | 6c 74 20 6c 61 72 67 65 |-5.Defau|lt large|
|00002460| 20 62 6c 61 63 6b 2d 61 | 6e 64 2d 77 68 69 74 65 | black-a|nd-white|
|00002470| 20 69 63 6f 6e 73 41 46 | 69 67 75 72 65 20 37 2d | iconsAF|igure 7-|
|00002480| 36 09 41 20 62 6c 61 63 | 6b 2d 61 6e 64 2d 77 68 |6.A blac|k-and-wh|
|00002490| 69 74 65 20 69 63 6f 6e | 20 61 6e 64 20 69 74 73 |ite icon| and its|
|000024a0| 20 6d 61 73 6b 20 66 6f | 72 20 61 6e 20 61 70 70 | mask fo|r an app|
|000024b0| 6c 69 63 61 74 69 6f 6e | 26 46 69 67 75 72 65 20 |lication|&Figure |
|000024c0| 37 2d 37 09 54 68 65 20 | 52 65 73 45 64 69 74 20 |7-7.The |ResEdit |
|000024d0| 76 69 65 77 20 6f 66 20 | 61 6e 20 69 63 6f 6e 58 |view of |an iconX|
|000024e0| 46 69 67 75 72 65 20 37 | 2d 38 09 4c 69 6e 6b 69 |Figure 7|-8.Linki|
|000024f0| 6e 67 20 69 63 6f 6e 20 | 6c 69 73 74 20 72 65 73 |ng icon |list res|
|00002500| 6f 75 72 63 65 73 20 61 | 6e 64 20 66 69 6c 65 20 |ources a|nd file |
|00002510| 72 65 66 65 72 65 6e 63 | 65 20 72 65 73 6f 75 72 |referenc|e resour|
|00002520| 63 65 73 20 69 6e 20 61 | 20 62 75 6e 64 6c 65 20 |ces in a| bundle |
|00002530| 72 65 73 6f 75 72 63 65 | 38 46 69 67 75 72 65 20 |resource|8Figure |
|00002540| 37 2d 39 09 54 68 65 20 | 64 65 66 61 75 6c 74 20 |7-9.The |default |
|00002550| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2d 75 6e 61 76 |applicat|ion-unav|
|00002560| 61 69 6c 61 62 6c 65 20 | 61 6c 65 72 74 20 62 6f |ailable |alert bo|
|00002570| 78 52 46 69 67 75 72 65 | 20 37 2d 31 30 09 54 68 |xRFigure| 7-10.Th|
|00002580| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2d 75 6e |e applic|ation-un|
|00002590| 61 76 61 69 6c 61 62 6c | 65 20 61 6c 65 72 74 20 |availabl|e alert |
|000025a0| 62 6f 78 20 73 70 65 63 | 69 66 79 69 6e 67 20 61 |box spec|ifying a|
|000025b0| 6e 20 61 70 70 6c 69 63 | 61 74 69 6f 6e d5 73 20 |n applic|ation.s |
|000025c0| 6e 61 6d 65 4b 46 69 67 | 75 72 65 20 37 2d 31 31 |nameKFig|ure 7-11|
|000025d0| 09 54 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |.The app|lication|
|000025e0| 2d 75 6e 61 76 61 69 6c | 61 62 6c 65 20 61 6c 65 |-unavail|able ale|
|000025f0| 72 74 20 62 6f 78 20 77 | 69 74 68 20 61 20 63 75 |rt box w|ith a cu|
|00002600| 73 74 6f 6d 69 7a 65 64 | 20 6d 65 73 73 61 67 65 |stomized| message|
|00002610| 51 46 69 67 75 72 65 20 | 37 2d 31 32 09 54 68 65 |QFigure |7-12.The|
|00002620| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2d 75 6e 61 | applica|tion-una|
|00002630| 76 61 69 6c 61 62 6c 65 | 20 61 6c 65 72 74 20 62 |vailable| alert b|
|00002640| 6f 78 20 66 6f 72 20 27 | 54 45 58 54 27 20 61 6e |ox for '|TEXT' an|
|00002650| 64 20 27 50 49 43 54 27 | 20 64 6f 63 75 6d 65 6e |d 'PICT'| documen|
|00002660| 74 73 37 46 69 67 75 72 | 65 20 37 2d 31 33 09 0d |ts7Figur|e 7-13..|
|00002670| 54 68 65 20 76 65 72 73 | 69 6f 6e 20 64 61 74 61 |The vers|ion data|
|00002680| 20 69 6e 20 74 68 65 20 | 69 6e 66 6f 72 6d 61 74 | in the |informat|
|00002690| 69 6f 6e 20 77 69 6e 64 | 6f 77 46 46 69 67 75 72 |ion wind|owFFigur|
|000026a0| 65 20 37 2d 31 34 09 44 | 65 66 61 75 6c 74 20 61 |e 7-14.D|efault a|
|000026b0| 6e 64 20 63 75 73 74 6f | 6d 69 7a 65 64 20 68 65 |nd custo|mized he|
|000026c0| 6c 70 20 62 61 6c 6c 6f | 6f 6e 73 20 66 6f 72 20 |lp ballo|ons for |
|000026d0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 69 63 6f 6e |applicat|ion icon|
|000026e0| 73 31 46 69 67 75 72 65 | 20 37 2d 31 35 09 54 68 |s1Figure| 7-15.Th|
|000026f0| 65 20 53 79 73 74 65 6d | 20 46 6f 6c 64 65 72 20 |e System| Folder |
|00002700| 61 6e 64 20 72 65 6c 61 | 74 65 64 20 66 6f 6c 64 |and rela|ted fold|
|00002710| 65 72 73 54 46 69 67 75 | 72 65 20 37 2d 31 36 09 |ersTFigu|re 7-16.|
|00002720| 53 74 72 75 63 74 75 72 | 65 20 6f 66 20 61 20 73 |Structur|e of a s|
|00002730| 69 67 6e 61 74 75 72 65 | 20 72 65 73 6f 75 72 63 |ignature| resourc|
|00002740| 65 20 63 6f 6d 70 69 6c | 65 64 20 61 73 20 61 20 |e compil|ed as a |
|00002750| 73 74 72 69 6e 67 20 28 | 27 53 54 52 20 27 29 20 |string (|'STR ') |
|00002760| 72 65 73 6f 75 72 63 65 | 3f 46 69 67 75 72 65 20 |resource|?Figure |
|00002770| 37 2d 31 37 09 53 74 72 | 75 63 74 75 72 65 20 6f |7-17.Str|ucture o|
|00002780| 66 20 61 20 63 6f 6d 70 | 69 6c 65 64 20 69 63 6f |f a comp|iled ico|
|00002790| 6e 20 6c 69 73 74 20 28 | 27 49 43 4e 23 27 29 20 |n list (|'ICN#') |
|000027a0| 72 65 73 6f 75 72 63 65 | 45 46 69 67 75 72 65 20 |resource|EFigure |
|000027b0| 37 2d 31 38 09 53 74 72 | 75 63 74 75 72 65 20 6f |7-18.Str|ucture o|
|000027c0| 66 20 61 20 63 6f 6d 70 | 69 6c 65 64 20 73 6d 61 |f a comp|iled sma|
|000027d0| 6c 6c 20 69 63 6f 6e 20 | 6c 69 73 74 20 28 27 69 |ll icon |list ('i|
|000027e0| 63 73 23 27 29 20 72 65 | 73 6f 75 72 63 65 4c 46 |cs#') re|sourceLF|
|000027f0| 69 67 75 72 65 20 37 2d | 31 39 09 53 74 72 75 63 |igure 7-|19.Struc|
|00002800| 74 75 72 65 20 6f 66 20 | 61 20 63 6f 6d 70 69 6c |ture of |a compil|
|00002810| 65 64 20 6c 61 72 67 65 | 20 34 2d 62 69 74 20 63 |ed large| 4-bit c|
|00002820| 6f 6c 6f 72 20 69 63 6f | 6e 20 28 27 69 63 6c 34 |olor ico|n ('icl4|
|00002830| 27 29 20 72 65 73 6f 75 | 72 63 65 4c 46 69 67 75 |') resou|rceLFigu|
|00002840| 72 65 20 37 2d 32 30 09 | 53 74 72 75 63 74 75 72 |re 7-20.|Structur|
|00002850| 65 20 6f 66 20 61 20 63 | 6f 6d 70 69 6c 65 64 20 |e of a c|ompiled |
|00002860| 73 6d 61 6c 6c 20 34 2d | 62 69 74 20 63 6f 6c 6f |small 4-|bit colo|
|00002870| 72 20 69 63 6f 6e 20 28 | 27 69 63 73 34 27 29 20 |r icon (|'ics4') |
|00002880| 72 65 73 6f 75 72 63 65 | 4c 46 69 67 75 72 65 20 |resource|LFigure |
|00002890| 37 2d 32 31 09 53 74 72 | 75 63 74 75 72 65 20 6f |7-21.Str|ucture o|
|000028a0| 66 20 61 20 63 6f 6d 70 | 69 6c 65 64 20 6c 61 72 |f a comp|iled lar|
|000028b0| 67 65 20 38 2d 62 69 74 | 20 63 6f 6c 6f 72 20 69 |ge 8-bit| color i|
|000028c0| 63 6f 6e 20 28 27 69 63 | 6c 38 27 29 20 72 65 73 |con ('ic|l8') res|
|000028d0| 6f 75 72 63 65 4d 46 69 | 67 75 72 65 20 37 2d 32 |ourceMFi|gure 7-2|
|000028e0| 32 09 0d 53 74 72 75 63 | 74 75 72 65 20 6f 66 20 |2..Struc|ture of |
|000028f0| 61 20 63 6f 6d 70 69 6c | 65 64 20 73 6d 61 6c 6c |a compil|ed small|
|00002900| 20 38 2d 62 69 74 20 63 | 6f 6c 6f 72 20 69 63 6f | 8-bit c|olor ico|
|00002910| 6e 20 28 27 69 63 73 38 | 27 29 20 72 65 73 6f 75 |n ('ics8|') resou|
|00002920| 72 63 65 3b 46 69 67 75 | 72 65 20 37 2d 32 33 09 |rce;Figu|re 7-23.|
|00002930| 0d 53 74 72 75 63 74 75 | 72 65 20 6f 66 20 61 20 |.Structu|re of a |
|00002940| 63 6f 6d 70 69 6c 65 64 | 20 69 63 6f 6e 20 28 27 |compiled| icon ('|
|00002950| 49 43 4f 4e 27 29 20 72 | 65 73 6f 75 72 63 65 44 |ICON') r|esourceD|
|00002960| 46 69 67 75 72 65 20 37 | 2d 32 34 09 53 74 72 75 |Figure 7|-24.Stru|
|00002970| 63 74 75 72 65 20 6f 66 | 20 61 20 63 6f 6d 70 69 |cture of| a compi|
|00002980| 6c 65 64 20 66 69 6c 65 | 20 72 65 66 65 72 65 6e |led file| referen|
|00002990| 63 65 20 28 27 46 52 45 | 46 27 29 20 72 65 73 6f |ce ('FRE|F') reso|
|000029a0| 75 72 63 65 3d 46 69 67 | 75 72 65 20 37 2d 32 35 |urce=Fig|ure 7-25|
|000029b0| 09 0d 53 74 72 75 63 74 | 75 72 65 20 6f 66 20 61 |..Struct|ure of a|
|000029c0| 20 63 6f 6d 70 69 6c 65 | 64 20 62 75 6e 64 6c 65 | compile|d bundle|
|000029d0| 20 28 27 42 4e 44 4c 27 | 29 20 72 65 73 6f 75 72 | ('BNDL'|) resour|
|000029e0| 63 65 4d 46 69 67 75 72 | 65 20 37 2d 32 36 09 0d |ceMFigur|e 7-26..|
|000029f0| 4d 61 70 70 69 6e 67 20 | 6c 6f 63 61 6c 20 49 44 |Mapping |local ID|
|00002a00| 73 20 74 6f 20 69 63 6f | 6e 20 6c 69 73 74 20 72 |s to ico|n list r|
|00002a10| 65 73 6f 75 72 63 65 20 | 49 44 73 20 69 6e 20 61 |esource |IDs in a|
|00002a20| 20 62 75 6e 64 6c 65 20 | 72 65 73 6f 75 72 63 65 | bundle |resource|
|00002a30| 68 46 69 67 75 72 65 20 | 37 2d 32 37 09 53 74 72 |hFigure |7-27.Str|
|00002a40| 75 63 74 75 72 65 20 6f | 66 20 73 75 70 65 72 66 |ucture o|f superf|
|00002a50| 6c 75 6f 75 73 20 6c 6f | 63 61 6c 20 49 44 20 6d |luous lo|cal ID m|
|00002a60| 61 70 70 69 6e 67 20 66 | 6f 72 20 66 69 6c 65 20 |apping f|or file |
|00002a70| 72 65 66 65 72 65 6e 63 | 65 20 72 65 73 6f 75 72 |referenc|e resour|
|00002a80| 63 65 73 20 69 6e 20 61 | 20 0d 62 75 6e 64 6c 65 |ces in a| .bundle|
|00002a90| 20 72 65 73 6f 75 72 63 | 65 4c 46 69 67 75 72 65 | resourc|eLFigure|
|00002aa0| 20 37 2d 32 38 09 53 74 | 72 75 63 74 75 72 65 20 | 7-28.St|ructure |
|00002ab0| 6f 66 20 61 20 63 6f 6d | 70 69 6c 65 64 20 6d 69 |of a com|piled mi|
|00002ac0| 73 73 69 6e 67 2d 61 70 | 70 6c 69 63 61 74 69 6f |ssing-ap|plicatio|
|00002ad0| 6e 20 6e 61 6d 65 20 73 | 74 72 69 6e 67 20 72 65 |n name s|tring re|
|00002ae0| 73 6f 75 72 63 65 4f 46 | 69 67 75 72 65 20 37 2d |sourceOF|igure 7-|
|00002af0| 32 39 09 53 74 72 75 63 | 74 75 72 65 20 6f 66 20 |29.Struc|ture of |
|00002b00| 61 20 63 6f 6d 70 69 6c | 65 64 20 61 70 70 6c 69 |a compil|ed appli|
|00002b10| 63 61 74 69 6f 6e 2d 6d | 69 73 73 69 6e 67 20 6d |cation-m|issing m|
|00002b20| 65 73 73 61 67 65 20 73 | 74 72 69 6e 67 20 72 65 |essage s|tring re|
|00002b30| 73 6f 75 72 63 65 3b 46 | 69 67 75 72 65 20 37 2d |source;F|igure 7-|
|00002b40| 33 30 09 0d 46 6f 72 6d | 61 74 20 6f 66 20 61 20 |30..Form|at of a |
|00002b50| 63 6f 6d 70 69 6c 65 64 | 20 76 65 72 73 69 6f 6e |compiled| version|
|00002b60| 20 28 27 76 65 72 73 27 | 29 20 72 65 73 6f 75 72 | ('vers'|) resour|
|00002b70| 63 65 | |ce | |
+--------+-------------------------+-------------------------+--------+--------+